﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Web.Core;

namespace Yuanlin.Business
{
    public class VisitCompany : Entity
    {


        private Property<int> userId = new Property<int>();
        private Property<int> num = new Property<int>();
        private Property<int> visitUserId = new Property<int>();        //访问者的EntityId
        private Property<string> visitGreenNumber = new Property<string>();//访问者的绿商号
        private Property<DateTime> lastDate = new Property<DateTime>();
        private Property<int> productId = new Property<int>();
        private Property<int> categoryId = new Property<int>();//表示是花木还是资材
        private Property<string> tradeType = new Property<string>();

        public Property<int> ProductId
        {
            get { return productId; }
            set { productId = value; }
        }
        public Property<int> Num
        {
            get { return num; }
            set { num = value; }
        }
        public Property<int> CategoryId
        {
            get { return categoryId; }
            set { categoryId = value; }
        }
        public Property<int> UserId
        {
            get { return userId; }
            set { userId = value; }
        }
        public Property<int> VisitUserId
        {
            get { return visitUserId; }
            set { visitUserId = value; }
        }
        public Property<string> VisitGreenNumber
        {
            get { return visitGreenNumber; }
            set { visitGreenNumber = value; }
        }
        public Property<string> TradeType
        {
            get { return tradeType; }
            set { tradeType = value; }
        }
        public Property<DateTime> LastDate
        {
            get { return lastDate; }
            set { lastDate = value; }
        }
    }
}